package org.springframework;

import org.springframework.bean.Student;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ClassPathMain {


	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");

		Student student = context.getBean("student", Student.class);

		System.out.println(student.getStudent("arong", 18));

	}
}
